<template>
  <el-form-item label="赠送金额">
    <el-input
      v-model="form2.amount"
      style="width: 600px"
      type="number"
    ></el-input>
  </el-form-item>
</template>

<script>
// 必中现金
export default {
  props: {
    form: {
      type: Object,
    },
  },
  name: "Amount",
  data() {
    return {
      form2: this.form,
    };
  },
  watch: {
    form2: {
      handler(newVal) {
        this.$emit("updateComponet", { type: "amount", value: newVal });
      },
    },
  },
};
</script>
